# SPDX-License-Identifier: Apache-2.0
"""
add detail to VulnerabilityRecord

Revision ID: 1e61006a47c2
Revises: 8bee9c119e41
Create Date: 2022-07-15 16:57:03.322702
"""

import sqlalchemy as sa

from alembic import op

revision = "1e61006a47c2"
down_revision = "8bee9c119e41"


def upgrade():
    op.add_column("vulnerabilities", sa.Column("summary", sa.String(), nullable=True))


def downgrade():
    op.drop_column("vulnerabilities", "summary")
